﻿using UnityEngine;
using System.Collections;

public class TypeItemBtn : MonoBehaviour {    
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
    public void TypeItemClick()
    {
        string type=this.gameObject.transform.name;
        LevelPanelManager.instance.TypeStartOnClick( type );
    }
    public void LevelItemPanelExit()
    {
        this.gameObject.SetActive( false );
    }

    public void LevelExit()
    {
        MainPanelManager.instance.LevelStartOnClick();
    }
    
  
}
